home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / demos / r-z / stormc-demo / include / exception.h < prev    next >
C/C++ Source or Header  |  1996-01-09  |  483b  |  29 lines

  1. #ifndef _INCLUDE_EXCEPTION_H
  2. #define _INCLUDE_EXCEPTION_H
  3.  
  4. /*
  5. **  $VER: exception.h 10.1 (19.7.95)
  6. **  Includes Release 40.15
  7. **
  8. **  '(C) Copyright 1995/96 Haage & Partner Computer GmbH'
  9. **     All Rights Reserved
  10. */
  11.  
  12. #ifndef __cplusplus
  13. #error <exception.h> must be compiled in C++ mode.
  14. #pragma +
  15. #endif
  16.  
  17. class Exception
  18. { public:
  19.     virtual ~Exception() { };
  20. };
  21.  
  22. void unexpected();
  23. void terminate();
  24.  
  25. void (*set_unexpected(void(*)()))();
  26. void (*set_terminate(void(*)()))();
  27.  
  28. #endif
  29.